package org.example.pack1021;

public class DemoC {
    private DemoA da;
    private DemoB db;

    public DemoC() {
    }

    public DemoA getDa() {
        return da;
    }

    public void setDa(DemoA da) {
        this.da = da;
    }

    public DemoB getDb() {
        return db;
    }

    public void setDb(DemoB db) {
        this.db = db;
    }

    @Override
    public String toString() {
        return "DemoC{" +
                "da=" + da +
                ", db=" + db +
                '}';
    }
}
